package com.xiaoyu.ftp;

public class FTPVo
{
  private String hostName;
  private int port;
  private String username;
  private String password;
  private String remoteDir;
  private String localDir;
  private String remoteEncoding;
  private boolean passiveMode;

  public FTPVo(String hostName, int port, String username, String password, String remoteDir, String localDir, String remoteEncoding, boolean passiveMode)
  {
    this.hostName = hostName;
    this.port = port;
    this.remoteDir = remoteDir;
    this.localDir = localDir;
    this.remoteEncoding = remoteEncoding;
    this.passiveMode = passiveMode;
    this.username = username;
    this.password = password;
  }

  public int getPort() {
    return this.port;
  }

  public void setPort(int port) {
    this.port = port;
  }

  public String getUsername() {
    return this.username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return this.password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getHostName() {
    return this.hostName;
  }

  public void setHostName(String hostName) {
    this.hostName = hostName;
  }

  public String getRemoteDir() {
    return this.remoteDir;
  }

  public void setRemoteDir(String remoteDir) {
    this.remoteDir = remoteDir;
  }

  public String getLocalDir() {
    return this.localDir;
  }

  public void setLocalDir(String localDir) {
    this.localDir = localDir;
  }

  public String getRemoteEncoding() {
    return this.remoteEncoding;
  }

  public void setRemoteEncoding(String remoteEncoding) {
    this.remoteEncoding = remoteEncoding;
  }

  public boolean isPassiveMode()
  {
    return this.passiveMode;
  }

  public void setPassiveMode(boolean passiveMode) {
    this.passiveMode = passiveMode;
  }
}